package com.hzj.service.impl;

import com.hzj.mapper.UserMapper;
import com.hzj.pojo.Users;
import com.hzj.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserServiceImpl implements UserService {
    @Resource(name = "userMapper")
    UserMapper um;
    @Override
    public List<Users> query() {
        return um.query();
    }

    @Override
    public Users check(String name) {
        return um.check(name);
    }
}
